package com.service.impl;


import com.domain.Book;
import com.service.BookService;
import com.mapper.BookMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
* @author 王梦雨
* @description 针对表【tb_book】的数据库操作Service实现
* @createDate 2024-12-10 14:41:17
*/
@Service
public class BookServiceImpl implements BookService{
    @Autowired
    private BookMapper bookMapper;
    @Override
    public Book findBookById(Integer id) {
        return bookMapper.findBookById(id);
    }
}




